package yunhe.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by lzh on 2017/6/13.
 * Product实体类
 */
public class Product {
    private String proBarCode;
    private String proNumber;
    private String proName;
    private String proQual;
    private String proUnit;
    private String proAddr;
    private String proClass;
    private double proPurchPrice;
    private double proSalePrice;
    private List<PurchaseAppend> purchaseAppends=new ArrayList<PurchaseAppend>();
	public Product() {
    }

   
    public Product(String proBarCode, String proNumber, String proName,
			String proQual, String proUnit, String proAddr, String proClass,
			double proPurchPrice, double proSalePrice) {
		this.proBarCode = proBarCode;
		this.proNumber = proNumber;
		this.proName = proName;
		this.proQual = proQual;
		this.proUnit = proUnit;
		this.proAddr = proAddr;
		this.proClass = proClass;
		this.proPurchPrice = proPurchPrice;
		this.proSalePrice = proSalePrice;
	}

    
	public List<PurchaseAppend> getPurchaseAppends() {
		return purchaseAppends;
	}


	public void setPurchaseAppends(List<PurchaseAppend> purchaseAppends) {
		this.purchaseAppends = purchaseAppends;
	}


	public String getProAddr() {
		return proAddr;
	}

	public void setProAddr(String proAddr) {
		this.proAddr = proAddr;
	}
    public String getProBarCode() {
        return proBarCode;
    }

    public void setProBarCode(String proBarCode) {
        this.proBarCode = proBarCode;
    }

    public String getProNumber() {
        return proNumber;
    }

    public void setProNumber(String proNumber) {
        this.proNumber = proNumber;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProQual() {
        return proQual;
    }

    public void setProQual(String proQual) {
        this.proQual = proQual;
    }

    public String getProUnit() {
        return proUnit;
    }

    public void setProUnit(String proUnit) {
        this.proUnit = proUnit;
    }

    public String getProClass() {
        return proClass;
    }

    public void setProClass(String proClass) {
        this.proClass = proClass;
    }

    public double getProPurchPrice() {
        return proPurchPrice;
    }

    public void setProPurchPrice(double proPurchPrice) {
        this.proPurchPrice = proPurchPrice;
    }

    public double getProSalePrice() {
        return proSalePrice;
    }

    public void setProSalePrice(double proSalePrice) {
        this.proSalePrice = proSalePrice;
    }
}
